package com.villaday.idf.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Unique;

/**
 * Created by tudou on 2018/10/17.
 */


/**
 * address : 深圳·盐田区
 * name : 深圳小梅沙·水岸2号6房别墅
 * currentPrice : 480000
 * serverTime : 1539755659595
 * id : vg8WO05K3b
 */
@Entity
public class City {
    @Id(autoincrement = true)
    private Long id;
    private String code;
    private String citrId;
    @Unique
    private String name;
    private long serverTime;
    private String shortCode;
    private boolean isCheck;
    private long date;

    public City(String code, String citrId, String name, long serverTime, String shortCode, boolean isCheck, long date) {
        this.code = code;
        this.citrId = citrId;
        this.name = name;
        this.serverTime = serverTime;
        this.shortCode = shortCode;
        this.isCheck = isCheck;
        this.date = date;
    }

    @Generated(hash = 1556082549)
    public City(Long id, String code, String citrId, String name, long serverTime, String shortCode, boolean isCheck,
            long date) {
        this.id = id;
        this.code = code;
        this.citrId = citrId;
        this.name = name;
        this.serverTime = serverTime;
        this.shortCode = shortCode;
        this.isCheck = isCheck;
        this.date = date;
    }

    @Generated(hash = 750791287)
    public City() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return this.code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCitrId() {
        return this.citrId;
    }

    public void setCitrId(String citrId) {
        this.citrId = citrId;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getServerTime() {
        return this.serverTime;
    }

    public void setServerTime(long serverTime) {
        this.serverTime = serverTime;
    }

    public String getShortCode() {
        return this.shortCode;
    }

    public void setShortCode(String shortCode) {
        this.shortCode = shortCode;
    }

    public boolean getIsCheck() {
        return this.isCheck;
    }

    public void setIsCheck(boolean isCheck) {
        this.isCheck = isCheck;
    }

    public long getDate() {
        return this.date;
    }

    public void setDate(long date) {
        this.date = date;
    }

    
}

